package com.school.manager.domaim;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.school.manager.annotations.Like;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * description：系统权限表映射实体
 * date：2021/10/133:18 下午
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_permission")
public class SysPermission extends BaseDomain<SysPermission> {

    /**
     * 权限名
     */
    @TableField("name")
    @Like("name")
    private String name;

    /**
     * 权限说明
     */
    @TableField("perm_desc")
    private String permDesc;

}
